import {VxeGridPropTypes} from "vxe-table/types/grid";

export const columns: VxeGridPropTypes.Columns = [
  {type: 'checkbox', width: 40,},
  {type: 'seq', title: '序号', treeNode: false, width: 60,},
  {field: 'id', title: 'ID', width: 60, visible: false,},
  {field: 'group', title: '按钮组', visible: true, sortable: false,},
  {field: 'name', title: '按钮名称', visible: true, sortable: false,},
  {field: 'icon', title: '图标', visible: true, sortable: false, },
  {field: 'place', title: '按钮位置', visible: true, sortable: false,},
  {field: 'func', title: '方法', visible: true, sortable: false,},
  {field: 'tip', title: '是否提示', visible: true, sortable: false,},
  {field: 'tipContent', title: '提示内容', visible: true, sortable: false,},
  {field: 'memo', title: '备注', visible: true, sortable: false,},
  {field: 'creatorId', title: '创建人', visible: false, sortable: false,},
  {field: 'createdTime', title: '创建时间', visible: true, sortable: false,},
  {field: 'updatedTime', title: '更新时间', visible: false, sortable: false,},
  {title: '操作', sortable: false, slots: {default: 'operate'}, width: 185, align: 'center',},
];